extends CanvasLayer

var s_view : PackedScene = preload("res://src/view.tscn")

func _ready() -> void:
	var model: Model = Model.new()
	var controller: Controller = Controller.new(model)
	var view: View = s_view.instantiate()
	view._controller = controller
	self.add_child(view)
	controller.display_changed.connect(view._on_display_changed)
